Espressif Systems /ESP32-P4 /MCPWM0 /CARRIER2_CFG

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CARRIER2_CFG

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (CHOPPER_EN)CHOPPER_EN 0CHOPPER_PRESCALE 0CHOPPER_DUTY 0CHOPPER_OSHTWTH 0 (CHOPPER_OUT_INVERT)CHOPPER_OUT_INVERT 0 (CHOPPER_IN_INVERT)CHOPPER_IN_INVERT

Description

Carrier2 configuration register

Fields

CHOPPER_EN

Configures whether or not to enable carrier%s.\0: Bypassed\1: Enabled

CHOPPER_PRESCALE

Configures the prescale value of PWM carrier%s clock (PC_clk), so that period of PC_clk = period of PWM_clk * (PWM_CARRIER%s_PRESCALE + 1)

CHOPPER_DUTY

Configures carrier duty. Duty = PWM_CARRIER%s_DUTY / 8

CHOPPER_OSHTWTH

Configures width of the first pulse. Measurement unit: Periods of the carrier.

CHOPPER_OUT_INVERT

Configures whether or not to invert the output of PWM%s A and PWM%s B for this submodule.\0: Normal\1: Invert

CHOPPER_IN_INVERT

Configures whether or not to invert the input of PWM%s A and PWM%s B for this submodule.\0: Normal\1: Invert

Links

() ()